package org.geek4j.solr.model;

import org.springframework.data.annotation.Id;
import org.springframework.data.solr.core.mapping.Indexed;
import org.springframework.data.solr.core.mapping.SolrDocument;

import lombok.Getter;
import lombok.Setter;

/**
 * 
 * @author Geek4J
 *
 *@Description Item model
 */
@Getter
@Setter
@SolrDocument(solrCoreName = "item")
public class Item {

	private @Id @Indexed String id;

	private @Indexed(name = "name") String name;

}